import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// elementPlus
import ElementPlus from 'element-plus'

// 使ElementPlus的默认语言变为中文
import 'element-plus/theme-chalk/index.css'
import 'dayjs/locale/zh-cn'
import locale from 'element-plus/lib/locale/lang/zh-cn'

const app = createApp(App);
app.use(store);
app.use(router);
app.use(ElementPlus as any,{locale});
app.mount('#app');
